package com.pth.service;

import java.util.List;

import com.pth.model.Notice;
import com.pth.utils.PageBean;

public interface NoticeService {

	public void add(Notice notice);
	
	public List<Notice> getNew9Notice();
	
	public Notice getNoticeByid(int id);
	
	
	public PageBean getAllN(final int pagesize,final int page);
	
	public List<Notice> getNoticesOrderByScannum();
	
	public void delete(Notice notice);
	
	public void modify(Notice notice);

	
	List<Notice> getAllNotices();
	
	void createIndex();
	
}
